package com.example.tool.util.zto.bean;

import lombok.Data;

@Data
public class ZtoTrajectory {
    private String data_digest;
    private String company_id;
    private DataInfo data=new DataInfo();
    private String msg_type;
    @Data
    public class DataInfo {
        private String billCode;
        private String facilityCode;
        private String actionTime;
        private String facilityContactPhone;
        private String city;
        private String courier;
        private String action;
        private String courierPhone;
        private String facilityName;
        private String desc;
    }

//    public static void main(String[] args) {
//        List<List<String>>pv=new ArrayList<>();
//        String keyTemplate = "sys:interceptWorkbookId:%s:%s";
////        Object[] params = {"value1", "value2"};
//        pv.add(Arrays.asList("value1", "value2"));
//        pv.add(Arrays.asList("value2", "value2"));
//        pv.add(Arrays.asList("value3", "value2"));
//        String result = String.format(keyTemplate, pv.stream().map(cpv -> cpv.get(0)).toArray());
//        System.out.println(result);
//    }
}
